﻿using AdminBase.Model.Entitys;
using Newtonsoft.Json;

namespace AdminBase.Model
{
    /// <summary>
    /// 角色数据传输对象（Data Transfer Object, DTO）
    /// </summary>
    public class RolesDto : Roles
    {
        /// <summary>
        /// 权限ID列表
        /// </summary>
        [JsonProperty("permissions")]
        public List<long> Permissions = new List<long>();
    }
}
